package com.manager.devicemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpf
 * @since 2025-05-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName(value = "t_user_info",schema="public")
@Schema(name = "UserInfo", description = "用户信息表")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "性别")
    private String sex;
    @Schema(description = "联系方式")
    private String tel;
    @Schema(description = "部门")
    private String deptid;
    @Schema(description = "角色")
    private String role;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "创建时间")
    private Timestamp intime;
    @Schema(description = "备注")
    private String remark;

}